package com.woniu.dto;/*
 *
 * @author   米雷
 * @Description
 * @Date:create in 15:06 2020-03-28
 *
 * */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
public class OrderAndDetail {

    private String orderNum;  //商品编号



    private Date createTime;  //创建试卷

    private Integer status;  //支付状态

    private Double totalprice;     //总价格

    private Integer deal;   //交易状态

    private Long gId;   //商品id

    private Integer number;   //数量

    private Double price;    //每种商品的合计金额

    private  String shippingPlace;  //送货地址

    private  String phone;   //电话号码
    private List<GoodsAll> goodsAll;
    public String getOrderNum()
    {
        return orderNum;
    }

    public void setOrderNum(String orderNum)
    {
        this.orderNum = orderNum;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Integer getStatus()
    {
        return status;
    }

    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Double getTotalprice()
    {
        return totalprice;
    }

    public void setTotalprice(Double totalprice)
    {
        this.totalprice = totalprice;
    }

    public Integer getDeal()
    {
        return deal;
    }

    public void setDeal(Integer deal)
    {
        this.deal = deal;
    }

    public Long getgId()
    {
        return gId;
    }

    public void setgId(Long gId)
    {
        this.gId = gId;
    }

    public Integer getNumber()
    {
        return number;
    }

    public void setNumber(Integer number)
    {
        this.number = number;
    }

    public Double getPrice()
    {
        return price;
    }

    public void setPrice(Double price)
    {
        this.price = price;
    }

    public String getShippingPlace()
    {
        return shippingPlace;
    }

    public void setShippingPlace(String shippingPlace)
    {
        this.shippingPlace = shippingPlace;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public List<GoodsAll> getGoodsAll()
    {
        return goodsAll;
    }

    public void setGoodsAll(List<GoodsAll> goodsAll)
    {
        this.goodsAll = goodsAll;
    }
}
